<?php
require_once("config.php");
require_once("CMySQL.php");

$dbName="";
if(isset($_GET["dossier"])) {
	$dbName=CMySQL::getInstance()->getDbNameFromDossier($_GET["dossier"]);
}

$aPartirDe=$config[$dbName]["moisDebutExerice"];
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> 
<html> 
	<head> 
		<meta http-equiv="Content-type" content="text/html;charset=UTF-8"> 
		<link rel="shortcut icon" href="favicon.ico">
		<link rel="stylesheet" type="text/css" href="css/style.css">
		<title>Evolution</title>
	</head>
	<body>
		<h1 align="center">Evolution</h1>
		<div class='border large recap center'>
			<div class='inline bande'>
				<div class='case action fl' title='Chiffre d&apos;affaire mois/mois' onclick='document.location="caMoisMois.php"'>
					<img src="caMoisMois.php" width="300px" height="225px" />
				</div>
				<div class='case action fl' title='Chiffre d&apos;affaire cumulé mois/mois' onclick='document.location="caMoisMoisCumule.php?aPartirDe=<?php echo $aPartirDe; ?>"'>
					<img src="caMoisMoisCumule.php?aPartirDe=<?php echo $aPartirDe; ?>" width="300px" height="225px" />
				</div>
				<div class='case action fl' title='Chiffre d&apos;affaire sur 12 mois  glissant' onclick='document.location="caGlissant.php"'>
					<img src="caGlissant.php" width="300px" height="225px" />
				</div>
			</div>
			<div class='inline bande'>
				<div class='case action fl' title='facture mois/mois' onclick='document.location="facturesMoisMois.php"'>
					<img src="facturesMoisMois.php" width="300px" height="225px" />
				</div>
				<div class='case action fl' title='Devis mois/mois' onclick='document.location="devisMoisMois.php"'>
					<img src="devisMoisMois.php" width="300px" height="225px" />
				</div>
			</div>
		</div>
	</body>
</html>
